package com.chinemit.cui.components.container.group
{
	import com.chinemit.cui.components.core.CUIComponent;
	import flash.display.DisplayObject;
	
	public class Group extends CUIComponent
	{
		
		private var _gap:Number = 8;
		public function Group()
		{
			super();
		}
		public function get gap():Number
		{
			return _gap;
		}
		
		public function set gap(value:Number):void
		{
			_gap = value;
			refurbish();
		}
		
		public override function addChild(child:DisplayObject):DisplayObject{
			super.addChild(child);
			refurbish();
			return child;
		}
		
		protected function refurbish():void{
			
		}
	}
}